﻿using DSTMEETING.Data;
using DSTMEETING.Web.Api.Contracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;

namespace DSTMEETING.Web.Api
{
    public class ConfigController : ApiController
    {
        [HttpGet]
        public ApiResult<ConfigLoadSettingsResult> LoadSettings([FromUri]string version, [FromUri]string platform)
        {
            var result = new ConfigLoadSettingsResult();
            result.AllowAnonymousLogin = true;
            return new ApiResult<ConfigLoadSettingsResult>(result);
        }
    }
}
